#include <string>
#include <unistd.h>
#include "Logger.h"

// self definde logger
static xncc::Logger shm_logger("logger_test.bin", "/dev/shm/");
#define SHM_LOG (shm_logger)

int main(int /*argc*/, const char** /*argv*/)
{
    xncc::Logger::start();
    for (int i = 0; i < 10; i++) {
        LOG_BIN(SHM_LOG) << i;
    }
    return 0;
}